﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TestDelay : MonoBehaviour {

    private Dictionary<string, string> dic;
    private Input input;

	void Start () {
        input = new Input();
        //DelayManager.Instance.AddDelay(5, (data)=> {
        //    print(data);
        //},(data)=> {
        //    print("完成");
        //});
        //DelayManager.Instance.AddDelay(3, (data) => {
        //    print("aa:"+ data);
        //},"aa的数据");
    }

    private void Update()
    {
        if (VIPInput.PressUp(0)) {
            print("抬起");
        }
    }

}
